package cn.wolfcode.rbac.mapper;

import cn.wolfcode.rbac.domain.Permission;
import cn.wolfcode.rbac.query.QueryObject;

import java.util.List;

public interface PermissionMapper {

    List<Permission> selectAll(QueryObject qo);
    int getCount();

    List<String> getAllExpression();

    List<Permission> getAll();

    void insert(Permission permission);

    List<String> selectExpsByEmployeeId(Long empId);
}